export {}

// 函数没有返回值，用void

type Fn = () => void

const fn: Fn = () => {
    console.log('123')
    return undefined
}

type Fn1 = () => undefined

const fn1: Fn1 = () => {
    // 业务逻辑
    return undefined
}